package org.budo.support.spring.io.resource;

import org.springframework.core.io.ClassPathResource;

/**
 * @author li
 */
public class BudoClassPathResource extends ClassPathResource {
    public BudoClassPathResource(String path) {
        super(path);
    }

    @Override
    public int hashCode() {
        return System.identityHashCode(this);
    }

    @Override
    public String toString() {
        return this.getClass().getName() + "@" + Integer.toHexString(this.hashCode()) + ", " + super.toString();
    }
}